#include "EditorEngineObjectAbilityGroupModel.h"

#include "Object/NewObject.h"

#include "Ability/SceneOutline/EditorSceneOutlineAbilityModel.h"
#include "Ability/ObjectProperty/EditorObjectPropertyAbilityModel.h"
#include "Ability/MaterialPreview/EditorMaterialPreviewAbilityModel.h"

void REditorEngineObjectAbilityGroupModel::FirstTimeInitializeObject()
{
    Super::FirstTimeInitializeObject();

    auto Outline = NewObject<REditorSceneOutlineAbilityModel>(this);
    Outline->bIsExpanded = true;
    Abilities.Add(Outline);

    auto Property= NewObject<REditorObjectPropertyAbilityModel>(this);
    Property->bIsExpanded = true;
    Abilities.Add(Property);

    UpdateLayout();
}